[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api025.nas"]

    GLOBAL _api_fread

[SECTION .text]

_api_fread:         ; int api_fread(char *buf, int maxsize, int fhandle);
    push ebx
    mov edx, 25
    mov eax, [esp+16]       ; fhandle
    mov ecx, [esp+12]       ; maxsize
    mov ebx, [esp+8]        ; buf
    int 40h
    pop ebx
    ret
